package com.flute.framework.configuration;

import java.util.ArrayList;
import java.util.List;

import com.flute.framework.index.TimerIndexer;
import com.flute.framework.search.ISearcher;
import com.flute.framework.search.ISearcherProvider;

public class FluteInformation {
	private String name;
	private TimerIndexer timerIndexer;
	private List<ISearcher> searcherList;
	private ISearcherProvider provider;

	public FluteInformation() {
		this.searcherList = new ArrayList<ISearcher>();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void addSearcher(ISearcher searcher) {
		this.searcherList.add(searcher);
	}

	public List<ISearcher> getSearcherList() {
		return searcherList;
	}

	public void setSearcherList(List<ISearcher> searcherList) {
		this.searcherList = searcherList;
	}

	public TimerIndexer getTimerIndexer() {
		return timerIndexer;
	}

	public void setTimerIndexer(TimerIndexer indexer) {
		this.timerIndexer = indexer;
	}

	public ISearcherProvider getProvider() {
		return provider;
	}

	public void setProvider(ISearcherProvider provider) {
		this.provider = provider;
	}

}
